From 076d362990a8a11606b162d377f65fba28f8744c Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 7 Jul 2009 05:59:18 +0000 Subject: [PATCH] (reset-language-environment): Put the highset priority to the charset iso-8859-1. --- lisp/international/mule-cmds.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index 34d4fb3830d..ac94cadad06 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el @@ -1794,6 +1794,11 @@ The default status is as follows: (coding-system-error 'iso-latin-1)))) (setq default-process-coding-system (cons output-coding input-coding))) + ;; Put the highest priority to the charset iso-8859-1 to prefer the + ;; registry iso8859-1 over iso8859-2 in font selection. It also + ;; makes unibyte-display-via-language-environment to use iso-8859-1 + ;; as the unibyte charset. + (set-charset-priority 'iso-8859-1) ;; Don't alter the terminal and keyboard coding systems here. ;; The terminal still supports the same coding system -- 2.30.2